<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录</title>
<!-- Bootstrap -->
<link href="./css/bootstrap.min.css"
	rel="stylesheet">
<link href="./css/profile_style.css" rel="stylesheet">
<link href="./css/response.css" rel="stylesheet">
<link href="./bootstrapValidator.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="./js/lib/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="./js/lib/bootstrap.min.js"></script>
<script src="./js/lib/bootstrapValidator.min.js"></script>
<script src="./js/lib/style.js"></script>
<script type="text/javascript">
$(function (){
	 $('#fm').bootstrapValidator({
	       live: 'disabled',
	       message: '输入有误',
	       feedbackIcons: {
	           valid: 'glyphicon glyphicon-ok',
	           invalid: 'glyphicon glyphicon-remove',
	           validating: 'glyphicon glyphicon-refresh'
	       },
	       fields : {
	    	   "tmember.telephone" : {
	    		   validators : {
	    			   notEmpty : {
	    				   message : '<span style="font-size:1.2em;">电话号码不能为空！</span>'
	    			   },
	    			   regexp:{
	    			   		regexp:/\d{11}/,
	    			   		message:'<span style="font-size:1.2em;">请输入正确的电话号码！</span>'
	    			   }
	    		   }
	    	   },
	           "tmember.password": {
	               validators: {
	                   notEmpty: {
	                       message: '<span style="font-size:1.2em;">密码不能为空！</span>'
	                   }
	               }
	           }
	       }
	});
});
</script>
</head>
<body>
	<form id="fm" method="post" action="http://www.udppvr.cn:80/profile/memberLogin.do">
		<div class="form-group">
			<input type="number" class="form-control input-lg" id="telephone" name="tmember.telephone" placeholder="输入电话号码">
		</div>
		<div class="form-group">
			<input type="password" class="form-control input-lg" id="password" name="tmember.password" placeholder="输入密码">
		</div>
		<span style="color:red;font-size:1.2em;"></span>
		<input type="submit" class="btn btn-primary btn-lg btn-block" value="立即登录" />
		<br />
		<a class="btn btn-primary btn-lg btn-block" href="http://www.udppvr.cn:80/page/profile/reg.jsp">还没有账号-->注册</a>
	</form>
	<div class="heights">&nbsp;</div>
</body>
</html>